package com.googlecode.protoserv;

import java.io.IOException;

import com.googlecode.protoserv.Protocol.RequestProto;

abstract class RpcTransport {

  public void open() throws IOException {}

  public boolean isOpen() {
    return true;
  }

  @SuppressWarnings("rawtypes")
  public abstract void send(Rpc rpc, RequestProto.Builder request)
      throws IOException;

  public void close() throws IOException {}
}
